package org.langqiao.thread;

import java.util.Date;

public class TestSleep {

	public static void main(String[] args) {
		for(int i=0;i<10;i++){
			System.out.println("当前系统时间："+new Date());
			try {
				Thread.sleep(2000);
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
	}

}
